package top.mcwebsite.playandroid.lib.mvi.model

import java.lang.Exception

sealed class Async<out T> {
    object UnInitialization : Async<Nothing>()
    object Loading : Async<Nothing>()
    data class Success<T>(val data: T) : Async<T>()
    data class Failed(val errorMsg: String, val e: Throwable? = null) : Async<Nothing>()
}